package com.zzw.service;

import com.zzw.pojo.User;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

public interface UserService {

    List<User> findAll2();

    public User findUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    void addUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    void updateUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;
}
